package com.dkts.oil.router.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "路径规划信息")
public class RouterInfo {
    @Schema(description = "类型：1 公路，2: 铁路  3：水路")
    private Integer type;

    @Schema(description = "路由模型：YK_TO_ZY：yk到zy站运   \" +\n" +
            "            \"ZY_TO_CBK：zy站到cbk   \" +\n" +
            "            \"CBK_TO_XHK：cbk到xhk运输路  \" +\n" +
            "            \"XHK_TO_WCGYZX:xhk到wcgyzx   \" +\n" +
            "            \"YLCC:ylcc运输规划   \" +\n" +
            "            \"KQ_ROUTE:kq路由规划  \" +\n" +
            "            \" KQ_LAYOUT:kq内部布局与路由")
    private String routeModel;

    @Schema(description = "路线规划的点集合")
    private List<PathInfo> paths;

    public RouterInfo(){}

    public RouterInfo(List<PathInfo> allSegments, String routerModel, Integer type) {
        this.paths = allSegments;
        this.routeModel = routerModel;
        this.type = type;
    }


}
